package cn.rkylin.oms.goods.dao;

import java.util.List;

import cn.rkylin.oms.goods.vo.GoodsCategoryVO;
import cn.rkylin.oms.goods.vo.GoodsVO;

public interface IGoodsCategoryDAO {
    /**
     * 查询系统商品
     *
     * @param goodsVO
     * @return
     * @throws Exception
     */
    public List<GoodsCategoryVO> findByWhere(GoodsCategoryVO goodsCategoryVO) throws Exception;
    
    /**
     * 创建
     * 
     * @param shop
     * @throws Exception 
     */
    public int insert(GoodsCategoryVO goodsCategoryVO) throws Exception;

    /**
     * 修改
     * 
     * @param shop
     */
    public int update(GoodsCategoryVO goodsCategoryVO) throws Exception;

    /**
     * 删除
     * 
     * @param shop
     */
    public int delete(String id) throws Exception;
}
